BK Set Font Source


BK Set Font Source Image Number, Width, Height
BK Set Font Source Image Number, Width, Height, Spacing Set

Description

This command sets the image that has to be used. Width specifies how many characters are in one row. Height gives the number of characters in one column.
You can also specify a Spacing Set. There are a total of 8 sets you can store, each containing spacing data and character map (which character translates to where on the image). Valid Spacing Sets are 0 to 7. If the Spacing Set is not set, then the current spacing set won't be changed. The default Spacing Set is 0.

Take for example this bitmap font:

Video Phreak by Scraggle
Bitmap font created by Scraggle - DarkBasic Pro Forum

Then you would use:
BK Set Font Source , 10, 10

Parameters

Characters$StringThe characters.
WidthIntegerNumber of characters in a row.
HeightIntegerNumber of characters in a column.


Index